package com.tsh.chat.service;

import com.tsh.chat.domain.ChatHistory;

import java.util.List;

public interface ChatService {
    public List<ChatHistory> getChatHistoryByUserId(int userId);

    public int deleteHistoryById(int userId);

    public int insertNewChat(int userId, String role,String content);
}
